package com.wisc.application;

import java.util.List;

public class ApplicationPolicy {
	
    private String applicationId;
    private short replication;
    private List<String> dataCentersHosted;
    
	public ApplicationPolicy(String applicationId, short replication,
			List<String> dataCentersHosted) {
		this.setApplicationId(applicationId);
		this.setReplication(replication);
		this.dataCentersHosted = dataCentersHosted;
	}

	public String getApplicationId() {
		return applicationId;
	}

	public void setApplicationId(String applicationId) {
		this.applicationId = applicationId;
	}

	public short getReplication() {
		return replication;
	}

	public void setReplication(short replication) {
		this.replication = replication;
	}
	
	@Override
	public String toString() {
		return "ApplicationId:" + applicationId 
				+ " Replication: " + replication;
	}

	public List<String> getDataCentersHosted() {
		return dataCentersHosted;
	}

	public void setDataCentersHosted(List<String> dataCentersHosted) {
		this.dataCentersHosted = dataCentersHosted;
	}
    
}
